Abstract
Background: Repurposing approved drugs offers a time- and cost-effective alternative to traditional drug development. However, in silico prediction of repurposing candidates is challenging and requires the effective collaboration of specialists in various fields, including pharmacology, medicine, biology, and bioinformatics. Fragmented, specialized algorithms and tools often address only narrow aspects of the overall problem. Heterogeneous, unstructured data landscapes require the expertise of specialized users. Hence, diverse data sources might not integrate smoothly across workflows.
Objective: We aimed to develop an integrated, natural language–driven system that enables domain experts to conduct complex network-based drug repurposing analyses by integrating heterogeneous biomedical data sources and specialized bioinformatics methods within a unified workflow.
Methods: With ChatDRex, we present a conversation-based, multi-agent system that facilitates the execution of complex bioinformatic analyses aiming for network-based drug repurposing prediction. It builds on the integrated systems medicine knowledge graph NeDRexDB. ChatDRex provides natural language access to its extensive biomedical knowledge base. It integrates bioinformatics agents for network analysis, literature mining, and drug repurposing. These are complemented by agents that evaluate functional coherence for in silico validation. Its flexible multi-agent design assigns specific tasks to specialized agents, including query routing, data retrieval, algorithm execution, and result visualization. A dedicated reasoning module keeps the user in the loop and allows for hallucination detection.
Results: ChatDRex operationalizes complex network-based drug repurposing workflows through conversational interaction, integrating biomedical knowledge access with algorithm execution and validation-oriented assessments. Its modular multi-agent architecture enables scalable task specialization across retrieval, analysis, validation, and visualization, while the reasoning module provides transparency and safeguards against unreliable outputs.
Conclusions: By enabling researchers with limited computational expertise to control complex analyses with natural language, ChatDRex could democratize access to bioinformatics as an important resource for drug repurposing. It could enable clinical experts to generate hypotheses and explore drug repurposing opportunities, ultimately accelerating the discovery of novel therapies and advancing personalized medicine and translational research.
doi:10.2196/93862
Keywords
Introduction
The development of novel pharmaceuticals requires substantial time and financial investments. Additionally, it is often accompanied by a high risk of failure in the late stages of clinical trials [-]. To address these challenges, there is an increasing emphasis on repurposing already formulated drugs for novel therapeutic applications. This approach leverages comprehensive pharmacological, clinical, or genomic data to identify potential new indications for existing drugs [,]. This approach not only significantly accelerates the development process but also reduces the risk of clinical failures, as the safety and tolerability of the substances are already established [,].
In particular, systems medicine provides a conceptual framework for understanding disease as a complex, multiscale process that arises from interactions across molecular, cellular, and clinical levels []. Network medicine operationalizes this paradigm by translating system-level views into explicit computational models, which are typically represented as biological and pharmacological networks []. Researchers have found these network-based methodologies to be helpful in identifying promising drug repurposing candidates, thereby speeding up the transition from discovery to clinical application [,]. Since networks capture the relationships among genes, drugs, proteins, and diseases, they enable the identification of novel indications for existing pharmaceutical agents []. This type of network-based prediction of drug repurposing candidates has already been demonstrated in the context of Alzheimer disease and colorectal cancer [-].
A generic workflow for network-driven drug repurposing was implemented, demonstrated, and evaluated for biological adequacy within the NeDRex (Network-based Drug Repurposing and Exploration) project [], which was later expanded and complemented by, for example, NeDRex-Web [] and Drugst.One []. Central to this methodology are concepts such as seed genes—typically genes known to be implicated in a specific disease—which serve as the starting point for drug repurposing queries. Disease modules are clusters of interconnected genes driving the manifestation of a disease phenotype. For example, in Huntington disease, the HTT gene is the main disease-causing gene, and the associated network consisting of genes involved in neuronal damage forms the Huntington disease module. Disease module identification algorithms, such as DIAMOnD (Disease Module Detection), are used to extract these modules from complex biological networks []. Once a disease module is identified, drug prioritization algorithms rank drugs that target the identified module, thereby allowing researchers to focus on the most promising candidates for repurposing []. These algorithms utilize network topology, often through proximity measures, to determine the association between a drug target and the disease module, providing insights into the drug’s potential efficacy [].
Nevertheless, the field faces considerable challenges due to the substantial and intricate nature of biomedical information that must be examined to identify drug candidates with potential for novel indications. The NeDRex platform, primarily composed of NeDRexDB, which includes the NeDRex knowledge graph (KG) and the NeDRex API, was developed to address the identified challenges by providing a comprehensive suite of tools for network-based drug repurposing []. Utilizing these advanced tools requires a substantial level of bioinformatics expertise or dedicated training, which poses a significant hurdle for many clinicians despite their valuable pharmacological or disease-specific expertise []. Consequently, there is a pressing need for more accessible and user-friendly interfaces to bridge the gap between complex bioinformatics tools and the researchers and clinicians who could benefit most from their insights, ultimately accelerating the development of new treatments and personalized medicine approaches [,].
Large language models (LLMs) represent a transformative advance in this regard, offering unprecedented capabilities in natural language processing, including question answering (QA) and even medical reasoning [,]. The success of these models can be attributed to their extensive training on vast quantities of text data, which has enabled them to comprehend and generate coherent natural language []. These models have revolutionized biomedical data analysis by providing powerful text-understanding capabilities [-]. However, their generalized nature often limits their effectiveness in specialized biomedical domains [,]. Additionally, it has been observed that LLMs tend to generate hallucinations, producing plausible yet erroneous or fallacious information [,]. This phenomenon poses a significant challenge in high-risk domains such as biomedicine. The unreliability of LLMs underscores the necessity for domain-specific adaptations and rigorous validation when using LLMs in biomedical research and clinical decision-making processes [,]. To overcome this limitation, Retrieval-Augmented Generation (RAG) and In-Context Learning (ICL) techniques promise to enhance LLMs by incorporating external knowledge retrieval, thereby improving the accuracy and relevance of responses in specialized fields [,]. LLMs can further be organized as agents, which are autonomous entities designed to perform specific tasks. These agents operate without supervision, allowing them to pursue individual objectives and implement different strategies, including analyzing external data []. To execute a task, LLM agents possess a memory that enables them to acquire knowledge from prior interactions and to preserve context over extended periods of time []. In particular, in the area of drug repurposing, LLM agents can work toward the goal of providing accurate biomedical insights by autonomously accessing data services, retrieving relevant information, and iteratively refining their responses based on user feedback []. Through interagent communication, these specialized agents interact with databases, execute algorithms, and generate human-understandable explanations. This collaborative approach bridges the gap between complex computational tools and the needs of researchers and clinicians.
Building on these advancements in LLMs and agent technology, we introduce ChatDRex, an intuitive conversational agent designed to assist with identifying disease modules and repurposing drugs []. ChatDRex leverages a multi-agent architecture to provide a user-friendly interface for essential functions of the NeDRex platform, automating complex analyses and enhancing result visualization (). The objective of ChatDRex is to democratize access to computational drug repurposing tools and facilitate the identification of potential treatment options for existing diseases by both researchers and clinicians. Additionally, ChatDRex incorporates network-driven drug repurposing strategies into an interactive, conversation-based system. This system is designed to help researchers and clinicians identify potential treatment options for existing diseases.

Methods
ChatDRex
ChatDRex streamlines complex, network-based drug repurposing analyses with a conversational interface. This approach is designed to address potential biases and hallucinations in LLMs by integrating directly with validated biomedical databases and specialized bioinformatics tools. It ensures data accuracy and enables sophisticated analyses without requiring specialized computational expertise.
The implemented multi-agent architecture is inspired by the chain-of-thought (CoT) paradigm [] but adapted to the modularity of complex systems. In contrast to the original CoT, in which a single model sequentially externalizes the intermediate steps of reasoning [], our approach delegates reasoning to a set of specialized agents, each of which has a clearly defined role in the drug repurposing workflow (). A central planning agent functions as a meta-controller, breaking down user requests into subtasks, iteratively assigning them to the appropriate expert agents, and merging their results into a coherent outcome []. Consequently, the architecture enables task planning and orchestration, allowing each agent to focus on a small subtask using CoT [].

ChatDRex Agent Architecture
ChatDRex is a multi-agent system (), where all agents are constructed based on the same architectural principles (). Each agent integrates a unified control loop consisting of few-shot prompting, which is part of ICL, short-term and long-term memory access, internal planning routines, and external tool integration. Our lightweight summary agent maintains contextual continuity by compressing prior interaction states (Section S1 in ). This reduces token usage and enables controlled memory resets. Prompt-injection safeguards are applied at this stage, which is particularly relevant given that LLMs are systematically vulnerable to jailbreaks and instruction-overriding attacks [-]. In addition, a sanity check is performed here to verify, based on user feedback, whether the LLM has correctly understood the request (details and an evaluation of the input guardrails can be found in ). According to the available summary and the new user prompt, the coordination of tasks is the responsibility of a planning agent. This agent uses an LLM-based decision process to dynamically direct user input to the most suitable specialized agents (Section S2 in ). The selection of agents is formulated as a multistep problem, ensuring efficient task decomposition and specialization []. If biological validation or interpretation is requested by the user, this is provided by the DIGEST (In Silico Validation of Disease and Gene Sets, Clusterings or Subnetworks) agent (more detailed algorithm descriptions can be found in Section S3 in ). It uses DIGEST to evaluate the functional coherence of gene sets and disease-associated subnetworks. Conventional enrichment approaches, which enumerate overrepresented terms, are contrasted with DIGEST, which quantifies internal functional coherence through comparison with randomized reference sets. This process provides empirical significance estimates []. Within ChatDRex, DIGEST is used to assess the biological plausibility of disease modules derived from network analyses, as well as user-provided gene sets in the absence of network context.

Network-driven analyses are conducted by the NeDRex agent, which provides algorithmic access to the integrated NeDRex KG (more detailed algorithm descriptions can be found in Section S4 in ). This agent orchestrates established network-medicine tools, including DIAMOnD for disease module expansion from seed genes (Section S4.1 in ) []. TrustRank is a methodology that facilitates the prioritization of drug targets based on their proximity to trusted disease nodes (Section S4.2 in ) []. Closeness centrality is used to rank candidates according to their global network distances (Section S4.3 in ) []. The integration of these tools facilitates the systematic identification of disease-relevant subnetworks and candidate therapeutics within a unified interaction graph, thereby constituting the computational core of ChatDRex’s network-based drug repurposing capabilities. The KG agent is responsible for the structured knowledge retrieval process (Section S5 in ). This agent translates natural language queries into schema-constrained graph queries over the NeDRex KG (). The agent enhances its resilience, traceability, and resistance to hallucinations by integrating semantic query decomposition, embedding-based node matching, and deterministic Cypher query generation. Additionally, it uses fallback strategies that are guided by graph-based retrieval.
In order to achieve this, user queries are first semantically mapped to the fixed schema of the NeDRex KG and decomposed into a list of typed subquestions, rather than an explicit question graph as used in prior work []. Each subquestion is processed via an LLM call. This call identifies and annotates the corresponding KG node type, generates the query, and determines whether subsequent filtering is required. Subquestions that have been filtered are enriched using an embedding-based similarity search with the top 5 most similar KG nodes. Based on this representation, the agent generates Cypher queries deterministically for execution on the Neo4j-backed NeDRex KG. Query generation is guided by the known NeDRex schema and predefined type and edge constraints, reducing hallucinations and improving traceability [,]. The prior node enrichment enables robust filtering using resolved KG identifiers, which mitigates errors caused by spelling variations or lexical mismatches. To prevent over-constraining queries, filtering is applied only to elements that are explicitly marked. If Cypher query generation fails after a fixed number of retries, the agent switches to a GraphRAG-based strategy, in which graph-guided retrieval results are condensed and given to the LLM to generate a response []. In instances where NeDRex knowledge is inadequate, the research agent initiates a literature-based retrieval process by decomposing the query into focused subquestions and querying external scholarly resources (Semantic Scholar; Section S6 in ) [,]. This process serves to complement the KG with the most recent scientific evidence [,]. Consequently, the finalize agent synthesizes intermediate results into a coherent, citation-aware response (Section S7 in ) [,]. A secondary verification step evaluates generated content against the planning state, which contains the raw results from the other agents to mitigate hallucinations and ensure factual consistency [,]. If a graphical representation is required, the user has the option of controlling the Drugst.One graph representation via the network agent [].

Evaluation
Evaluating LLM-based agent systems is challenging because, unlike deterministic programs, their outputs are inherently interpretive and nondeterministic, meaning there is often no single objective ground truth beyond simple accuracy metrics. Unlike deterministic systems, LLMs generate responses that encompass generation processes, complex interpretation, and decision-making mechanisms []. Additionally, stochastic LLM outputs can lead to variability across runs. The aforementioned problems result in a multifaceted evaluation challenge []. First, it must be verified whether the model uses external tools correctly and appropriately. The next step is to check that the resulting information has been processed and communicated correctly. Furthermore, LLMs have the capacity to generate statements that, while superficially plausible, are factually inaccurate, thereby introducing a degree of complexity to the evaluation process []. Quantitative assessment is only feasible for well-defined subtasks with an explicit ground truth (eg, exact database queries). Conversely, higher-level outputs, such as literature support, scientific interpretation, and argument completeness, lack a unique ground truth and are therefore only partially and qualitatively assessable []. A robust evaluation, therefore, requires a combined approach of automated metrics and manual validation []. To evaluate the accuracy of the answers created by an LLM, an LLM-as-a-judge model is used. An LLM-as-a-judge model evaluates the quality, accuracy, or relevance of answers using an LLM to simulate human judgment in tasks such as evaluation, ranking, or criticism []. All LLM-as-a-judge evaluations were performed by a single fixed judge model, gpt-oss:20b, regardless of which model generated the answers under assessment. The judge was run with a temperature of 1 and top-P of 0.9 (). Given the potential for such distortions to be influenced by hallucinations, the process was closely monitored by experts and underwent corrective adjustments as needed. All evaluations were run thrice with gpt-oss:20b, nemotron-3-nano:4b, qwen3.6:27b, and gemma4:e4b. All model parameters can be found in . Individual reported numbers represent the average of the best-performing model.
Tool Validation
Tool accuracy is defined as the ability of an agent to identify and select the correct tool in response to a user’s input. For each tool, 100 evaluation questions were generated, resulting in a total of 400 queries. To assess tool selection under different prompting styles, 50 questions per tool explicitly contained tool-related keywords, whereas the remaining 50 questions described the desired task in natural language without mentioning the tool itself. This setup allowed us to evaluate both keyword-based and semantic tool selection capabilities. To further assess robustness to imperfect user input, 10 questions within each tool category were modified to include realistic human typing errors, such as misspellings, omitted characters, and typographical mistakes. The evaluation questions were generated synthetically to reduce manual workload, ensure a consistent structure, and maintain linguistic variation. A ground-truth dataset was constructed manually by selecting NeDRex diseases with associated genes available as gene symbols, UniProt identifiers, and Entrez Gene identifiers. These identifiers were incorporated into the questions and a dedicated extraction field, and the corresponding correct translations were recorded as ground truth. During testing, only the translation endpoint of the NeDRex API was executed live. The evaluation of all NeDRex tools and the network agent was conducted using a precomputed set of results associated with each question in the test set. This approach was implemented to optimize the evaluation runtime. The evaluation followed a 2-stage procedure. Call accuracy measures correct tool and API invocation, while answer accuracy evaluates the correct reflection of returned results in generated answers. This setup isolates tool-selection errors from errors in result interpretation and enables a focused assessment of ChatDRex’s tool accuracy.
KG Agent
To evaluate the NeDRex KG tool, we created 174 questions to determine whether the result set returned by the agent represents a superset of the silver standard annotation dataset (SSAD) created by human experts. The SSAD for the NeDRex KG evaluation was created using a self-generating and self-evaluating mechanism that leverages several language models and targeted validation steps (Section S8 in ). We manually reviewed the generated question-Cypher pairs, rephrasing queries where necessary to ensure they were biologically meaningful and logically sound. The end result was a manually corrected dataset. For evaluation purposes, each returned element must contain all properties defined in the SSAD, such as the biological meaning of the natural language question and the semantic relatedness between the natural language question and the corresponding Cypher query. In the comparison between the ground truth and generated answer, additional attributes were allowed provided that no expected elements were missing and no additional semantically inappropriate entries were introduced. A matching procedure was implemented to calculate the F₁-score. This procedure identifies a possible hit in the LLM result for each manually curated question. Such a hit is only counted if all values of the SSAD result are contained in the corresponding LLM entry. We compared the results with GraphRAG and a classic CypherQA chain []. To contextualize the performance of the NeDRex KG tool, we compared its final answer outputs with those produced by a GraphRAG baseline and a conventional CypherQA chain [,]. For these baseline comparisons, we evaluated only the final returned results and did not assess intermediate reasoning steps, tool calls, or query-generation trajectories.
Research Agent
To quantitatively evaluate the research agent, we developed a benchmark for answering biomedical literature questions based on the publicly available PubMedQA dataset [,]. We assessed answer correctness with an LLM-as-a-judge procedure, using the PubMedQA question, the research agent’s response, and the reference answer as context. Responses were marked correct if they were semantically consistent with the reference answer. This included cases with additional relevant, literature-based context that did not contradict the expected conclusion. This semantic evaluation was appropriate as the agent produces free-text evidence syntheses rather than categorical yes/no/maybe labels.
Technologies Used
ChatDRex is built on LangChain4j and Quarkus Support to streamline complex, network-based drug repurposing analyses through a conversational interface [-]. The frontend (Angular) connects to Quarkus servers, which communicate via WebSocket []. In addition to the WebSocket server, the backend offers a Representational State Transfer (REST) API and a model context protocol (MCP) server []. These provide the most important tools for external integration. These features make the frontend interchangeable and integrable into other LLM workflows []. ChatDRex utilizes, for example, gpt-oss:20b [], a highly capable LLM developed by OpenAI and optimized for helpful responses (). It is hosted through a self-hosted Ollama instance []. We use Ollama behind a self-hosted OpenWebUI that allows access control []. Furthermore, ChatDRex’s multi-agent architecture is designed to be flexible, allowing the integration of new and improved LLMs at the individual agent level as they become available. This modularity ensures that developers can add new algorithms, external APIs, or domain-specific applications through dedicated tool wrappers and service connectors without altering the core dialogue and orchestration logic. Consequently, ChatDRex remains adaptable to advances in LLMs and biomedical software. Presently, this extensibility is developer-mediated rather than fully self-service; arbitrary user-provided tools are not yet dynamically plugged in at runtime without a wrapper implementation.
Ethical Considerations
This was a small-scale user study in which participants tested the ChatDRex application. In accordance with the screening procedure of the Ethics Commission of the Department of Informatics, University of Hamburg, the completed basic questionnaire (“Basisfragebogen”) indicated that the study posed no more than minimal risk to participants and involved no deception, no vulnerable populations, and no processing of sensitive personal data. Formal review by the Ethics Commission was therefore not required. The study was conducted in accordance with the Declaration of Helsinki and the data protection requirements of the University of Hamburg. All participants provided informed consent prior to participation.
Results
Tool Validation
ChatDRex provides end-to-end conversational analysis for network-based drug repurposing. It accomplishes this by following a workflow proposed, amongst others, in NeDRex [], but within a chatbot-like environment. ChatDRex combines schema-constrained KG querying, network module expansion (DIAMOnD), drug prioritization (TrustRank or closeness centrality), and in silico validation based on functional coherence (DIGEST). In addition, literature research is integrated into the workflow. These findings are presented as interactive networks in-chat with a consistent visual legend across analyses using Drugst.One for visualization []. Examples can be found in .
Beyond qualitative use cases, we quantitatively evaluated the agent tool interactions underlying ChatDRex (). Network-based tools, such as DIAMOnD, TrustRank, and closeness centrality, achieved near-perfect tool accuracy ranging from 0.97 (SD 0.00) to 0.99 (SD 0.00), indicating robust recognition of intention and correct tool selection by the agent. In contrast, the DIGEST-based analysis showed slightly lower tool and call accuracies (mean 0.85, SD 0.01 and mean 0.77, SD 0.01, respectively), reflecting the increased complexity of mapping closely related analytical tasks from user prompts.
| Agent, model, and tool | Tool accuracy, mean (SD) | Call accuracy, mean (SD) | Answer accuracy, mean (SD) | ||
| NeDRex | |||||
| 0.98 (0.01) | 0.97 (0.01) | — | |||
| 0.97 (0.00) | 0.96 (0.01) | — | |||
| 0.99 (0.00) | 0.96 (0.02) | — | |||
| DIGEST | |||||
| 0.85 (0.01) | 0.77 (0.01) | 0.3 (0.01); 0.66 (0.01) | |||
| Knowledge graph | |||||
| — | 0.82 (0.01) | 0.76 (0.03) | |||
| Research | |||||
| — | — | 0.93 (0.01) | |||
aNeDRex: Network-based Drug Repurposing and Exploration.
bNot applicable.
cDIAMOnD: Disease Module Detection.
dDIGEST: In Silico Validation of Disease and Gene Sets, Clusterings or Subnetworks.
eRaw answer score obtained using the automated LLM-as-a-judge evaluation.
fCorrected answer score obtained after manual assessment by human experts.
gThe NeDRex knowledge graph tool is evaluated using F₁-scores.
For network expansion and prioritization tools (DIAMOnD, TrustRank, and closeness centrality), the final outcome presented to the user is determined directly by the underlying API outputs (). The LLM does not perform additional interpretation in these cases but returns the deterministic results produced by NeDRex, such that tool and call accuracies fully characterize the system performance. In contrast, DIGEST-based functional enrichment requires the LLM to interpret structured enrichment results and summarize them in natural language, introducing an additional reasoning layer that was explicitly evaluated (). Accordingly, DIGEST showed reduced answer accuracy and was strongly penalized by the automated LLM-as-a-judge, which achieved only 0.3 (SD 0.01) accuracy for this task, despite the underlying analytical information being factually correct. Manual expert evaluation of the same DIGEST outputs yielded a substantially higher answer accuracy of 0.66 (SD 0.01), highlighting a pronounced mismatch between automatic LLM-based judging and human assessment. This discrepancy raised the question of whether LLM-based judging can be trusted more broadly. To address this, 20 randomly sampled answers from each evaluation area were independently assessed by human raters. Across all other components, human and automated judgments showed no significant differences, confirming the reliability of the LLM-as-a-judge in general. The mismatch is therefore specific to DIGEST. Here, outputs require interpreting complex enrichment results, and these results are expressed in natural language. This task is not well suited for current automatic evaluation schemes.

To further investigate this discrepancy, all DIGEST responses were manually re-evaluated by a human annotator using the NeDRex API as an external reference for verifying the correctness of the generated answers. This reassessment confirmed that several responses originally marked as incorrect by the automatic evaluator were in fact correct, indicating that the observed disagreement was primarily caused by limitations of the evaluation procedure rather than by errors in the generated analyses. Consequently, manual verification supported by domain-specific resources remains necessary for reliably assessing such outputs. These findings highlight the need for more specialized evaluation frameworks for biomedical LLM systems. Generic answer-similarity metrics or broad LLM-as-a-judge scores may insufficiently capture whether an answer is biologically plausible, mechanistically grounded, supported by retrieved evidence, and safe for downstream biomedical interpretation. Future work should therefore prioritize the development of domain-specific evaluation metrics that jointly assess factual correctness; evidence grounding; biomedical reasoning quality; uncertainty handling; and the distinction among partially correct, unsupported, and biologically misleading outputs.
Importantly, this evaluation artifact does not reflect a flaw in ChatDRex’s analytical pipeline. The consistently high tool and call accuracies across all components demonstrate that the underlying results are methodologically sound and can be trusted. Taken together, these findings show that ChatDRex provides reliable and reproducible tool outputs, while improving the automatic evaluation of complex natural language summaries remains the primary bottleneck for further development.
KG Agent
The evaluation of schema-constrained NeDRex KG queries showed that the proposed agent improves automatic Cypher query generation for accessing biomedical KGs while also highlighting remaining limitations in translating complex natural language queries into complete Neo4j statements. The strongest performance was observed for qwen3.6:27b, which achieved the best overall results with an average accuracy of 0.76 (SD 0.03) and a call accuracy (F₁-score) of 0.82 (SD 0.01; ). For this model, the fallback was used once, and in 5% of cases, more than one run was required to generate a correct Cypher query. The gpt-oss:20b model demonstrated the second-best performance, achieving an average accuracy of 0.66 (SD 0.01) and a call accuracy (F₁-score) of 0.70 (SD 0.02). In contrast, smaller models demonstrated lower and less stable performance, with nemotron-3-nano:4b achieving an average accuracy of 0.59 (SD 0.06) and an F₁-score of 0.58 (SD 0.02) and gemma4:e4b achieving an accuracy of 0.64 (SD 0.01) and an F₁-score of 0.35 (SD 0.02).
The CypherQA baseline achieved values of 0.46 (SD 0.00) for gpt-oss:20b, 0.34 (SD 0.03) for nemotron-3-nano:4b, 0.42 (SD 0.01) for qwen3.6:27b, and 0.24 (SD 0.02) for gemma4:e4b. On the other hand, GraphRAG’s performance was lower on structure-specific KG questions, achieving values of 0.24 (SD 0.00), 0.17 (SD 0.04), 0.34 (SD 0.02), and 0.27 (SD 0.01), respectively. Overall, these results demonstrate that the KG agent benefits from the proposed architecture.
Research Agent
For the evaluated PubMedQA questions, all tested local models achieved high semantic answer accuracy. The best-performing configuration was qwen3.6:27b, with an answer accuracy of 0.93 (SD 0.01), closely followed by nemotron-3-nano:4b (accuracy of 0.92, SD 0.01) and gpt-oss:20b (accuracy of 0.90, SD 0.00). The gemma4:e4b model achieved a lower but still solid value of approximately 0.81 (SD 0.01; ). As expected, a larger model was associated with better results in most cases. For comparison, the GPT-4 (Medprompt) baseline achieved a value of 0.82 [,]. Thus, the best ChatDRex research agent configurations in this evaluation outperformed the GPT-4 (Medprompt) baseline and performed significantly better than the originally reported accuracy of the fine-tuned BioBERT PubMedQA [].
Importantly, the research agent was not limited to the single summary associated with each PubMedQA entry. Instead, it accessed an average of more than 30 literature sources per question, allowing the system to synthesize insights from multiple publications. This explains why the evaluation should not be interpreted as a standard PubMedQA ranking comparison but rather as an end-to-end benchmark for the retrieval and synthesis of biomedical literature using PubMedQA questions as controlled reference tasks []. The results show that ChatDRex can leverage external literature sources to generate semantically correct biomedical answers and that its literature-enhanced research workflow offers a clear advantage over purely fine-tuned, closed-context models for this type of biomedical QA. Drugst.One was excluded from the quantitative agent evaluation (see the Limitations section).
Hallucination Validation
To evaluate how hallucinations are handled, we created a set of 10 curated biomedical multistep reasoning cases. These cases were designed to test the detection and correction of hallucinations under controlled conditions (). Each case included an unsupported conclusion. For instance, therapeutic, causal, drug-target, drug-disease, pathway, or variant-disease claims that were not directly entailed by the retrieved evidence could be introduced.
We evaluated ChatDRex to determine if its grounding and validation mechanisms could detect unsupported answers, trigger corrections, and produce final answers consistent with NeDRex and the literature. The detection and correction score reflects how often unsupported drafts were successfully identified and corrected. The hallucinated draft score quantifies the grounding risk of the initial unsupported answer, while the corrected answer score measures the remaining unsupported content after correction. Across the evaluated models and repeated runs, ChatDRex achieved high detection and correction scores, with complete correction in most runs (). The mean hallucinated draft score remained high across models, whereas the corrected answer score decreased substantially, indicating improved grounding after correction. A representative case demonstrated that an unsupported claim that imatinib targets EGFR was rejected and revised to reflect that imatinib is only supported for targeting ABL1, KIT, and PDGFRA. Thus, EGFR-based repurposing is not supported by the retrieved evidence.

User Study
To evaluate the usability of ChatDRex, we conducted a pilot study aimed at obtaining a user-centered assessment of ChatDRex’s usability (). The study participants included 7 bioinformaticians and 1 clinician (3 male and 5 female experts). To assess the predictions and their comparability, these participants were asked to review and evaluate the examples (). The questionnaire can be found in . In the questionnaire, participants reported good comprehensibility and user friendliness. Participants expressed confidence in the accuracy of ChatDRex’s predictions, as sources and specific links between KG nodes were included.
Example Workflow for Huntington Disease
Through all the previously presented steps, ChatDRex provides researchers with an interface to access and analyze biomedical data while maintaining conversation coherence and system reliability. The system implicitly translates between gene and protein identifiers and efficiently handles secure connections to the NeDRex database through a custom API client (Tables S1 and S3 in ), facilitating the comprehensive exploration of genomic data relationships. To demonstrate the platform’s capabilities, we present concrete use cases that align with common workflows in drug repurposing research (; Table S5 in ).
The platform interacts with NeDRex, which enables schema-constrained Cypher queries to retrieve disease indications and related associations directly from the KG. It also uses DIAMOnD for disease module detection and DIGEST to estimate these modules’ functional coherence based on enriched pathways and functional annotations (Tables S1 and S4 in ). TrustRank is applied to prioritize proteins and drugs for assessing network reliability (Table S5 in ). Finally, ChatDRex uses the research agent to facilitate targeted literature searches and summarize relevant findings about drugs and diseases (Table S2 in ). provides step-by-step workflows, intermediate outputs, and user interface snapshots for each use case.

Example Workflow for the Colorectal Cancer Module
ChatDRex has the ability to identify disease-related gene modules in biological networks using its integrated tools. Starting with the disease term colorectal cancer, ChatDRex retrieved a curated seed gene set of 38 canonical colorectal cancer genes from NeDRex, including genes involved in Wnt signaling, such as APC, and in DNA repair and damage response, such as MLH1, MSH2, and TP53. These genes served as disease-associated seeds for network expansion.
The DIAMOnD algorithm expanded the seed set by prioritizing genes with significant connectivity to the seed genes within the NeDRex protein-protein interaction network, yielding a disease module of 138 nodes and 2129 edges, which comprised the 38 seed genes and 100 genes added by DIAMOnD. Functional interpretation of the top 10 genes was executed via the ChatDRex DIGEST agent, which evaluated functional coherence by comparing observed annotation consistency against randomized gene sets. The returned DIGEST coherence scores indicated significant signals for cellular compartments (cytoplasm, nucleus, nucleoplasm, cytosol, and chromatin) and for cancer-related signaling pathways (pathways in cancer, Ras signaling, and PI3K-Akt signaling). The empirical P values were .000999 for both the Gene Ontology (GO) Cellular Component and Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway annotation layers and .002 for GO Biological Process, which had been derived from permutation-based reference distributions. Given the broad nature of the most frequent cellular component terms and the exploratory nature of permutation-based coherence testing, these results can be interpreted as indicative rather than confirmatory, but they are consistent with biological processes previously implicated in colorectal cancer.
The top 10 genes (AKT1, SMARCA4, FBXW7, SMAD1, FANCC, PTPN11, FGF23, SMAD4, FGF6, and PTEN) emerged as highly connected genes within the expanded module, collectively spanning PI3K-Akt signaling, growth factor signaling, TGF-β/SMAD signaling, chromatin remodeling, and DNA repair. These genes represent candidates for further investigation, as their network positions suggest they may integrate multiple layers of colorectal cancer pathogenesis. However, direct interactions among them could only be partially verified in the NeDRex KG and the literature.
Discussion
Principal Findings
ChatDRex demonstrates that a conversational, multi-agent architecture can reliably orchestrate established network medicine tools for drug repurposing without requiring users to interact with the underlying pipelines directly. Across all evaluated components, network expansion, drug prioritization, and KG querying, ChatDRex achieved consistently high tool and call accuracies, indicating that the system correctly identifies and invokes the appropriate backend methods in response to user prompts. The resulting outputs are largely determined by validated, deterministic algorithms rather than by unconstrained model generation, which accounts for the stability and reproducibility observed across repeated runs.
Reliability, however, differs across pipeline stages. For network expansion and prioritization, performance reflects correct orchestration of deterministic backend methods, and the outcome is directly determined by the returned tool outputs. For DIGEST-based functional analysis, we observed comparatively weaker performance. This task requires the model to abstract structured coherence and enrichment statistics into a natural language summary, a genuine generative step that the other tools do not involve. This could impact the results.
Comparison With Prior Work
ChatDRex sits at the intersection of 2 lines of work that have so far developed independently. Network medicine platforms, such as NeDRex, provide validated, deterministic methods for disease module identification and drug prioritization but presuppose that the user can appropriately use the interface, assemble a parameterized pipeline, and interpret raw network output. Their expressive power is therefore accessible primarily to bioinformaticians rather than clinicians and experimental biologists who generate the underlying hypotheses.
Conversely, general-purpose LLMs and biomedical LLM assistants offer a natural language interface but lack grounding in curated biomedical KGs. Without schema-constrained query generation and validated analytical backends, such systems are prone to unverifiable output and cannot guarantee that a returned drug candidate derives from an established prioritization method. Recent agentic systems in biomedicine have begun to couple LLMs with external tools but typically evaluate end-to-end answer quality without isolating tool selection from result interpretation.
ChatDRex differs in coupling both components explicitly. User prompts are translated into schema-constrained Cypher queries to retrieve relevant information from the NeDRex KG, while downstream analyses are performed by established tools, such as DIAMOnD, TrustRank, closeness centrality, and DIGEST, rather than by the model.
Limitations
There are some limitations. First, a key limitation is that our evaluation establishes only that ChatDRex reliably selects and invokes the underlying methods and faithfully reports their outputs—not that the resulting candidates are clinically valid. We performed no retrospective validation against known drug-disease indications and tested no candidates experimentally. ChatDRex’s predictive validity for actual clinical drug repurposing therefore remains unverified, and its outputs should be regarded as hypothesis-generating rather than clinically actionable.
Second, the NeDRex KG benchmark may be affected by generation bias within the model family. The SSAD used to evaluate natural language-to-Cypher query generation was created with the help of several language models, including qwen2.5-coder:7b. It was then manually reviewed and corrected. Since qwen3.6:27b was the top performer in the NeDRex KG evaluation, its strong performance may be partly due to its alignment with query structures, wording patterns, or Cypher syntax produced by a related model family. This potential confounding factor should be considered when interpreting the relative model ranking.
Third, Drugst.One was not tested as part of the quantitative agent evaluation because it primarily provides a visual representation layer without adding contextual or analytical functions directly relevant to the agent’s reasoning and decision-making capabilities.
Fourth, all automated assessments of response quality were performed by a single judge model (gpt-oss:20b), which was also among the evaluated systems, and thus, self-preference bias cannot be excluded for that configuration. Independent models could provide a more reliable assessment. We took this into account by manually reviewing the responses and correcting them where necessary.
Fifth, the pilot cohort consisted of 7 bioinformaticians and a single clinician, most with intermediate to advanced programming experience. The results reflect usability for computationally experienced users and do not yet validate no-code usability for novice or noncomputational users.
Future Directions
Several directions follow directly from the limitations above. First, prospective validation is required: candidate drugs prioritized by ChatDRex for a given disease module should be assessed against experimental readouts or, where available, retrospective clinical evidence, in order to establish predictive rather than procedural validity.
Second, the contribution of the visualization layer warrants quantitative assessment. Although Drugst.One does not participate in the agent’s reasoning, its effect on user comprehension and hypothesis formation can be measured through an extended usability study.
Finally, the step where the LLM turns DIGEST’s statistical results into an explanation offers the clearest room for improvement, as this is where the most errors appear. Approaches that better structure or constrain this interpretation step, potentially through task-specific fine-tuning, could reduce these errors while preserving the reliable and reproducible results delivered by the deterministic DIGEST tool.
Conclusions
By automating query formulation, network construction, prioritization, visualization, and literature grounding, ChatDRex can shoulder a substantial portion of analytical work, allowing scientists to focus on interpretation, hypothesis refinement, and experimental design. It thereby lowers the technical barrier to network-based drug repurposing without displacing the validated methods on which such analyses depend.
Acknowledgments
The authors used generative AI tools only for minor language editing and stylistic refinement, such as grammar, wording, and clarity checks. Generative AI was not used to create the scientific content, study design, analyses, results, or conclusions of this manuscript. The authors critically reviewed, verified, and approved all AI-assisted edits and take full responsibility for the final content of the manuscript. Figures 1-4 and 7 were created using bioRender [].
Funding
This project was funded by the European Union under grant agreement number 101057619. However, the views and opinions expressed are those of the authors only and do not necessarily reflect those of the European Union or European Health and Digital Executive Agency (HADEA). Neither the European Union nor the granting authority can be held responsible for them. This work was also partly supported by the Swiss State Secretariat for Education, Research and Innovation (SERI) under contract number 22.00115.
Data Availability
The code for ChatDRex is publicly available in our GitHub repositories [,]. The repositories contain the source code, documentation, and instructions for setting up and running ChatDRex locally. For users who prefer not to set up a local environment, a web-based interface for ChatDRex is available online []. The ChatDRex software is free for academic and noncommercial use under the BSD-3-Clause with Commons Clause License [,]. Commercial users must contact the Cosy.Bio Institute for Computational Systems Biomedicine at the University of Hamburg to obtain a commercial license []. ChatDRex supports Bring Your Own Key (BYOK). All test datasets can be accessed under the public GitHub repository []. The repository contains several test and evaluation datasets used for different ChatDRex components. The exact silver standard annotation dataset used for the knowledge graph agent evaluation, including the 174 evaluation questions and corresponding expected outputs, is provided in the subfolder “nedrexkg.” Generation scripts for these questions can be accessed under a public GitHub repository [].
Authors' Contributions
SS designed the platform and developed the backend and web interface. LD, KB, SS, and SB designed and developed the tools. LD, SS, and KB designed the evaluation. AM, FMD-C, JB, and ML supervised the project. All authors provided critical feedback, participated in discussions, and assisted in interpretation of the results and writing of the manuscript.
SS and KB shared the co-first authorship; JB, FMD-C, and AM shared the co-senior authorship.
Conflicts of Interest
None declared.
Multimedia Appendix 1
Detailed descriptions of the ChatDRex agents (summary, planning, DIGEST, NeDRex, knowledge graph, research, and finalize) and the underlying algorithms DIAMOnD, TrustRank, and closeness centrality, including the silver standard annotation dataset generation procedure for the NeDRex knowledge graph evaluation.
PDF File, 359 KBMultimedia Appendix 2
Guardrail implementation and evaluation: prompt injection filtering, pre-execution workflow plausibility check, and results of the 100 curated safeguard test cases.
PDF File, 364 KBMultimedia Appendix 3
Sampling and context parameters of all language models used in this study.
PDF File, 64 KBMultimedia Appendix 4
Use cases: step-by-step ChatDRex workflows, agent planning decisions, tool calls, intermediate outputs, and user interface snapshots for functional enrichment analysis, literature search, network analysis, disease module detection, and the Huntington disease module detection and drug prioritization workflow.
PDF File, 5743 KBMultimedia Appendix 5
ChatDRex usability feedback form and overview of participant responses collected during the usability pilot study.
PDF File, 115 KBReferences
- Corsello SM, Bittker JA, Liu Z, et al. The Drug Repurposing Hub: a next-generation drug library and information resource. Nat Med. Apr 7, 2017;23(4):405-408. [CrossRef] [Medline]
- Pushpakom S, Iorio F, Eyers PA, et al. Drug repurposing: progress, challenges and recommendations. Nat Rev Drug Discov. Jan 2019;18(1):41-58. [CrossRef] [Medline]
- Hwang TJ, Carpenter D, Lauffenburger JC, Wang B, Franklin JM, Kesselheim AS. Failure of investigational drugs in late-stage clinical development and publication of trial results. JAMA Intern Med. Dec 1, 2016;176(12):1826-1833. [CrossRef] [Medline]
- Schleidgen S, Fernau S, Fleischer H, Schickhardt C, Oßa AK, Winkler EC. Applying systems biology to biomedical research and health care: a précising definition of systems medicine. BMC Health Serv Res. Nov 21, 2017;17(1):761. [CrossRef] [Medline]
- Sonawane AR, Weiss ST, Glass K, Sharma A. Network medicine in the age of biomedical big data. Front Genet. 2019;10:294. [CrossRef] [Medline]
- Maier A, Hartung M, Abovsky M, et al. Drugst.One - a plug-and-play solution for online systems medicine and network-based drug repurposing. Nucleic Acids Res. Jul 5, 2024;52(W1):W481-W488. [CrossRef] [Medline]
- Sadegh S, Skelton J, Anastasi E, et al. Network medicine for disease module identification and drug repurposing with the NeDRex platform. Nat Commun. Nov 25, 2021;12(1):6848. [CrossRef] [Medline]
- Sagulkoo P, Chuntakaruk H, Rungrotmongkol T, Suratanee A, Plaimas K. Multi-level biological network analysis and drug repurposing based on leukocyte transcriptomics in severe COVID-19: in silico systems biology to precision medicine. J Pers Med. Jun 23, 2022;12(7):1030. [CrossRef] [Medline]
- Liu TP, Hsieh YY, Chou CJ, Yang PM. Systematic polypharmacology and drug repurposing via an integrated L1000-based Connectivity Map database mining. R Soc Open Sci. Nov 2018;5(11):181321. [CrossRef] [Medline]
- T P, Katta B, Lulu S S, Sundararajan V. Gene expression analysis reveals GRIN1, SYT1, and SYN2 as significant therapeutic targets and drug repurposing reveals lorazepam and lorediplon as potent inhibitors to manage Alzheimer’s disease. J Biomol Struct Dyn. 2024;42(19):10352-10373. [CrossRef] [Medline]
- Savva K, Zachariou M, Bourdakou MM, Dietis N, Spyrou GM. Network-based stage-specific drug repurposing for Alzheimer’s disease. Comput Struct Biotechnol J. 2022;20:1427-1438. [CrossRef] [Medline]
- Ballard C, Aarsland D, Cummings J, et al. Drug repositioning and repurposing for Alzheimer disease. Nat Rev Neurol. Dec 2020;16(12):661-673. [CrossRef] [Medline]
- Maier A, Rafiei M, Anastasi E, et al. NeDRex-web: an interactive web tool for drug repurposing by exploring heterogeneous molecular networks. Presented at: 2024 IEEE International Conference on Bioinformatics and Biomedicine (BIBM); Dec 3-6, 2024. [CrossRef]
- Lazareva O, Baumbach J, List M, Blumenthal DB. On the limits of active module identification. Brief Bioinformatics. Sep 2, 2021;22(5). [CrossRef]
- Ghiassian SD, Menche J, Barabási AL. A DIseAse MOdule Detection (DIAMOnD) algorithm derived from a systematic analysis of connectivity patterns of disease proteins in the human interactome. PLoS Comput Biol. Apr 2015;11(4):e1004120. [CrossRef] [Medline]
- Al Kawam A, Sen A, Datta A, Dickey N. Understanding the bioinformatics challenges of integrating genomics into healthcare. IEEE J Biomed Health Inform. Sep 2018;22(5):1672-1683. [CrossRef] [Medline]
- Duvaud S, Gabella C, Lisacek F, Stockinger H, Ioannidis V, Durinx C. Expasy, the Swiss bioinformatics resource portal, as designed by its users. Nucleic Acids Res. Jul 2, 2021;49(W1):W216-W227. [CrossRef] [Medline]
- Pires JG, da Silva GF, Weyssow T, et al. Galaxy and MEAN stack to create a user-friendly workflow for the rational optimization of cancer chemotherapy. Front Genet. 2021;12:624259. [CrossRef] [Medline]
- Lama S, Zhang H, Monaghan C, et al. #2924 Comparison of large language models and traditional natural language processing techniques in predicting arteriovenous fistula failure. Nephrol Dial Transplant. May 23, 2024;39(Supplement_1):gfae069–0792–2924. [CrossRef]
- Dong Q, Li L, Dai D, et al. A survey on in-context learning. arXiv. Preprint posted online on Dec 31, 2022. URL: https://arxiv.org/abs/2301.00234 [Accessed 2026-10-13]
- Jahan I, Laskar MTR, Peng C, Huang J. A comprehensive evaluation of large language models on benchmark biomedical text processing tasks. arXiv. Preprint posted online on Oct 6, 2023. URL: https://arxiv.org/abs/2310.04270 [Accessed 2026-10-13]
- Doneva SE, Qin S, Sick B, et al. Large language models to process, analyze, and synthesize biomedical texts: a scoping review. Discov Artif Intell. 4(1). [CrossRef]
- Lu Z, Peng Y, Cohen T, Ghassemi M, Weng C, Tian S. Large language models in biomedicine and health: current research landscape and future directions. J Am Med Inform Assoc. Sep 1, 2024;31(9):1801-1811. [CrossRef] [Medline]
- Tian S, Jin Q, Yeganova L, et al. Opportunities and challenges for ChatGPT and large language models in biomedicine and health. Brief Bioinformatics. Nov 22, 2023;25(1). [CrossRef]
- Jin Q, Yang Y, Chen Q, Lu Z. GeneGPT: augmenting large language models with domain tools for improved access to biomedical information. Bioinformatics. Feb 1, 2024;40(2):38341654. [CrossRef] [Medline]
- Pham DK, Vo BQ. Towards reliable medical question answering: techniques and challenges in mitigating hallucinations in language models. arXiv. Preprint posted online on Aug 25, 2024. URL: https://arxiv.org/abs/2408.13808 [Accessed 2026-10-13]
- Pal S, Bhattacharya M, Lee SS, Chakraborty C. A domain-specific next-generation large language model (LLM) or ChatGPT is required for biomedical engineering and research. Ann Biomed Eng. Mar 2024;52(3):451-454. [CrossRef] [Medline]
- Huang J, Tan M. The role of ChatGPT in scientific communication: writing better scientific review articles. Am J Cancer Res. 2023;13(4):1148-1154. [Medline]
- Xi Z, Chen W, Guo X, et al. The rise and potential of large language model based agents: a survey. arXiv. Preprint posted online on Sep 14, 2023. URL: https://arxiv.org/abs/2309.07864 [Accessed 2024-11-10]
- Wang L, Ma C, Feng X, et al. A survey on large language model based autonomous agents. arXiv. Preprint posted online on Aug 22, 2023. URL: https://arxiv.org/abs/2308.11432 [Accessed 2026-10-13]
- ChatDRex. CosyBio. URL: https://apps.cosy.bio/chatdrex [Accessed 2026-10-13]
- bioRender. URL: https://www.biorender.com/ [Accessed 2026-07-28]
- Easin AM, Sourav S, Tamás O. An intelligent LLM-powered personalized assistant for digital banking using langgraph and chain of thoughts. Presented at: 2024 IEEE 22nd Jubilee International Symposium on Intelligent Systems and Informatics (SISY); Sep 19-21, 2024. [CrossRef]
- Wei J, Wang X, Schuurmans D, et al. Chain-of-thought prompting elicits reasoning in large language models. arXiv. Preprint posted online on Jan 28, 2022. URL: https://arxiv.org/abs/2201.11903 [Accessed 2026-10-13]
- Li A, Xie Y, Li S, Tsung F, Ding B, Li Y. Agent-oriented planning in multi-agent systems. arXiv. Preprint posted online on Oct 3, 2024. URL: https://arxiv.org/abs/2410.02189 [Accessed 2026-10-13]
- Adamowicz K, Maier A, Baumbach J, Blumenthal DB. Online in silico validation of disease and gene sets, clusterings or subnetworks with DIGEST. Brief Bioinformatics. Jul 18, 2022;23(4). [CrossRef] [Medline]
- Pathade C. Red teaming the mind of the machine: a systematic evaluation of prompt injection and jailbreak vulnerabilities in LLMs. arXiv. Preprint posted online on May 7, 2025. URL: https://arxiv.org/abs/2505.04806 [Accessed 2026-10-13]
- Hung KH, Ko CY, Rawat A, Chung IH, Hsu WH, Chen PY. Attention tracker: detecting prompt injection attacks in LLMs. arXiv. Preprint posted online on Nov 1, 2024. URL: https://arxiv.org/abs/2411.00348 [Accessed 2026-10-13]
- Li Z, Peng B, He P, Yan X. Evaluating the instruction-following robustness of large language models to prompt injection. arXiv. Preprint posted online on Aug 17, 2023. URL: https://arxiv.org/abs/2308.10819 [Accessed 2026-10-13]
- Masterman T, Besen S, Sawtell M, Chao A. The landscape of emerging AI agent architectures for reasoning, planning, and tool calling: a survey. arXiv. Preprint posted online on Apr 17, 2024. URL: https://arxiv.org/abs/2404.11584 [Accessed 2026-10-13]
- Krishnan N. AI agents: evolution, architecture, and real-world applications. arXiv. Preprint posted online on Mar 16, 2025. URL: https://arxiv.org/abs/2503.12687 [Accessed 2026-10-13]
- Dong Y, Mu R, Jin G, et al. Building guardrails for large language models. arXiv. Preprint posted online on Feb 2, 2024. URL: https://arxiv.org/abs/2402.01822 [Accessed 2026-10-13]
- Gyöngyi Z, Garcia-Molina H, Pedersen J. Combating web spam with trustrank. Presented at: Thirtieth International Conference on Very Large Data Bases; Aug 31 to Sep 3, 2004. [CrossRef]
- Zheng W, Zhang M. Question answering over knowledge graphs via structural query patterns. arXiv. Preprint posted online on Oct 22, 2019. URL: https://arxiv.org/abs/1910.09760 [Accessed 2026-10-13]
- Özsoy MG, Messallem L, Besga J, Minneci G. Text2Cypher: bridging natural language and graph databases. arXiv. Preprint posted online on Dec 13, 2024. URL: https://arxiv.org/abs/2412.10064 [Accessed 2026-10-13]
- Pusch L, Conrad TOF. Combining llms and knowledge graphs to reduce hallucinations in question answering. arXiv. Preprint posted online on Sep 6, 2024. URL: https://arxiv.org/abs/2409.04181 [Accessed 2026-10-13]
- Han H, Wang Y, Shomer H, et al. Retrieval-augmented generation with graphs (GraphRAG). arXiv. Preprint posted online on Dec 31, 2024. URL: https://arxiv.org/abs/2501.00309 [Accessed 2026-10-13]
- Fricke S. Semantic scholar. Journal of the Medical Library Association. 2018;106(1). [CrossRef]
- Bolaños F, Salatino A, Osborne F, Motta E. Artificial intelligence for literature reviews: opportunities and challenges. Artif Intell Rev. Aug 17, 2024;57(10). [CrossRef]
- Jeong S, Baek J, Cho S, Hwang SJ, Park JC. Adaptive-RAG: learning to adapt retrieval-augmented large language models through question complexity. arXiv. Preprint posted online on Mar 21, 2024. URL: https://arxiv.org/abs/2403.14403 [Accessed 2026-10-13]
- Jeong C. A study on the implementation method of an agent-based advanced RAG system using graph. arXiv. Preprint posted online on Jul 29, 2024. URL: https://arxiv.org/abs/2407.19994 [Accessed 2026-10-13]
- Yan SQ, Gu JC, Zhu Y, Ling ZH. Corrective retrieval augmented generation. arXiv. Preprint posted online on Jan 29, 2024. URL: https://arxiv.org/abs/2401.15884 [Accessed 2026-10-13]
- Peng JL, Cheng S, Diau E, et al. A survey of useful LLM evaluation. arXiv. Preprint posted online on Jun 3, 2024. URL: https://arxiv.org/abs/2406.00936 [Accessed 2026-10-13]
- Ma C, Zhang J, Zhu Z, et al. An analytical evaluation board of multi-turn LLM agents. arXiv. Preprint posted online on Jan 24, 2024. URL: https://arxiv.org/abs/2401.13178 [Accessed 2026-10-13]
- Bang Y, Ji Z, Schelten A, et al. HalluLens: LLM hallucination benchmark. arXiv. Preprint posted online on Apr 24, 2025. URL: https://arxiv.org/abs/2504.17550 [Accessed 2026-10-13]
- Gu J, Jiang X, Shi Z, et al. A survey on LLM-as-a-judge. arXiv. Preprint posted online on Nov 23, 2024. URL: https://arxiv.org/abs/2411.15594 [Accessed 2026-10-13]
- Li C, Lu X, Shuang K. CypherQA: question-answering method based on attribute knowledge graph. Presented at: 9th International Conference on Information Technology: IoT and Smart City; Dec 22-25, 2021. [CrossRef]
- Hornsteiner M, Kreussel M, Steindl C, Ebner F, Empl P, Schönig S. Real-time text-to-cypher query generation with large language models for graph databases. Future Internet. Nov 22, 2024;16(12):438. [CrossRef]
- Jin Q, Dhingra B, Liu Z, Cohen W, Lu X. PubMedQA: a dataset for biomedical research question answering. arXiv. Preprint posted online on Sep 13, 2019. URL: https://arxiv.org/abs/1909.06146 [Accessed 2026-10-13]
- PubMedQA. GitHub. URL: https://pubmedqa.github.io/ [Accessed 2026-06-11]
- LangChain4j. URL: https://docs.langchain4j.dev/ [Accessed 2026-05-26]
- Quarkus LangChain4j. Quarkiverse. URL: https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html [Accessed 2026-05-26]
- Quarkus. URL: https://quarkus.io/ [Accessed 2026-05-26]
- Angular. URL: https://angular.dev/ [Accessed 2026-05-26]
- Hou X, Zhao Y, Wang S, Wang H. Model context protocol (MCP): landscape, security threats, and future research directions. arXiv. Preprint posted online on Mar 30, 2025. URL: https://arxiv.org/abs/2503.23278 [Accessed 2026-10-13]
- Agarwal S, Ahmad L, Ai J, et al. gpt-oss-120b & gpt-oss-20b model card. arXiv. Preprint posted online on Aug 8, 2025. URL: https://arxiv.org/abs/2508.10925 [Accessed 2026-10-13]
- Ollama. GitHub. URL: https://github.com/ollama/ollama/tree/main [Accessed 2025-11-15]
- Open-webui. GitHub. URL: https://github.com/open-webui/open-webui [Accessed 2026-05-26]
- Nori H, Lee YT, Zhang S, et al. Can generalist foundation models outcompete special-purpose tuning? Case study in medicine. arXiv. Preprint posted online on Nov 28, 2023. URL: https://arxiv.org/abs/2311.16452
- ChatDRexAPI4J. GitHub. URL: https://github.com/SimonSuewerUHH/ChatDRexAPI4J [Accessed 2026-05-26]
- ChatDRexUI. GitHub. URL: https://github.com/SimonSuewerUHH/ChatDRexUI [Accessed 2026-05-26]
- The 3-clause BSD license. Open Source Initiative. URL: https://opensource.org/license/BSD-3-Clause [Accessed 2026-05-26]
- Commons Clause License. URL: https://commonsclause.com [Accessed 2026-05-26]
- CosyBio. URL: https://www.cosy.bio/ [Accessed 2026-05-26]
- ChatDRexAPI4J - tools. GitHub. URL: https://github.com/SimonSuewerUHH/ChatDRexAPI4J/tree/main/src/test/resources/tools [Accessed 2026-07-16]
- T2C synthetic data generation. GitHub. URL: https://github.com/lucia990/T2C-synthetic-data-generation [Accessed 2026-07-16]
Abbreviations
| CoT: chain-of-thought |
| DIAMOnD: Disease Module Detection |
| DIGEST: In Silico Validation of Disease and Gene Sets, Clusterings or Subnetworks |
| GO: Gene Ontology |
| ICL: In-Context Learning |
| KEGG: Kyoto Encyclopedia of Genes and Genomes |
| KG: knowledge graph |
| LLM: large language model |
| MCP: model context protocol |
| NeDRex: Network-based Drug Repurposing and Exploration |
| QA: question answering |
| RAG: Retrieval-Augmented Generation |
| REST: Representational State Transfer |
| SSAD: silver standard annotation dataset |
Edited by Andrew Coristine; submitted 20.Feb.2026; peer-reviewed by Bairong Shen, Dominik Heider; final revised version received 29.Sep.2026; accepted 30.Sep.2026; published 03.Nov.2026.
Copyright© Simon Süwer, Kester Bagemihl, Sylvie Baier, Lucia Dicunta, Markus List, Jan Baumbach, Fernando Miguel Delgado-Chaves, Andreas Maier. Originally published in JMIR AI (https://ai.jmir.org), 3.Nov.2026.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR AI, is properly cited. The complete bibliographic information, a link to the original publication on https://www.ai.jmir.org/, as well as this copyright and license information must be included.

